package com.iccct.cloud.user.model.resp;

import java.util.List;

/**
 * @author iccct (taowutt1@gmail.com)
 * @since 2021-11-08  15:26
 */
public class MenuResp {

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 菜单名
     */
    private String menuName;

    /**
     * 父级菜单ID
     */
    private Long parentId;

    /**
     * 菜单路径
     */
    private String path;

    /**
     * 菜单展示等级
     */
    private Integer level;

    /**
     * 子集菜单
     */
    private List<MenuResp> childrenList;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public List<MenuResp> getChildrenList() {
        return childrenList;
    }

    public void setChildrenList(List<MenuResp> childrenList) {
        this.childrenList = childrenList;
    }


    @Override
    public String toString() {
        return "MenuResp{" +
                "id=" + id +
                ", menuName='" + menuName + '\'' +
                ", parentId=" + parentId +
                ", path='" + path + '\'' +
                ", level=" + level +
                ", childrenList=" + childrenList +
                '}';
    }
}
